home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: m.hendry@dial.pipex.com (Mathew Hendry)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: playing 14 bit samples. how?
- Date: Wed, 31 Jan 96 15:12:49
- Organization: Private node.
- Distribution: world
- Message-ID: <19960131.48DC00.DF59@ao038.du.pipex.com>
- References: <john.hendrikx.48y3@grafix.xs4all.nl> <4enpm4$o1f@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: ao038.du.pipex.com
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- Juergen "Rally" Fischer (fischerj@Informatik.TU-Muenchen.DE) wrote:
- : John Hendrikx (john.hendrikx@grafix.xs4all.nl) wrote:
- :
- : You calibrate the audio hardware, which does maybe not exactly play
- : 1/64 of max volume if volume=1 selected.
-
- In fact, the hardware reference manual states that volume 1 plays at -36.1dB
- (rather than -36.0dB) relative to volume 64, so even the nominal value
- is slightly off. In practice the difference in volume varies with frequency as
- well, and this too has to be compensated for.
-
- : : sample and using the volume to compensate for which top 8-bits your playing.
- :
- : : (The other method to use 2 channels playing at different volumes seems easier
- : : to use though).
- :
- : Yes, because you don't need to sync them so exactly.
-
- If they aren't synced exactly, you're adding more noise than you would get by
- playing a single 8 bit sample - as soon as the two "halves" of the sample
- become desynced, you'll be playing the 8 most significant bits of one sample
- along with the 6 least significant bits of another => nasty noise.
-
- The volume method is simple to use because it only requires you to split each
- sample in two and right shift the less significant "half" by two bits. After
- that it's all up to the DMA. The modulation method requires a bit more initial
- processing than that.
-
- -- Mat.
-